#include "heap.h"

int main()
{
	dataType arr[] = { 23, 45, 32, 16, 57, 41, 27, 19, 30, 12};
	int n = sizeof arr / sizeof (dataType);
	heap hp;
	initHeap(&hp, arr, n);
	heapPush(&hp, 55);
	printHeap(&hp);
	heapPop(&hp);
	printHeap(&hp);
	heapPop(&hp);
	printHeap(&hp);
	printf("%d\n", heapTop(&hp));
	printf("%d\n", heapSize(&hp));
	printf("%d\n", heapEmpty(&hp));
	destroyHeap(&hp);
	return 0;
}